package com.qdc.datacenters.service;

import com.qdc.datacenters.domain.entity.SysRole;
import com.qdc.datacenters.domain.query.role.SysRoleAddQuery;
import com.qdc.datacenters.domain.query.role.SysRoleQuery;
import com.qdc.datacenters.domain.vo.role.SysRoleVo;
import org.springframework.security.core.GrantedAuthority;

import java.util.List;

/**
 * 角色信息表(SysRole)表服务接口
 *
 * @author danmo
 * @since 2024-02-22 11:22:25
 */
public interface ISysRoleService extends IBaseService<SysRole> {

    List<SysRoleVo> getRoleByUserId(Long userId);

    void add(SysRoleAddQuery query);

    void edit(SysRoleAddQuery query);

    SysRoleVo getDetail(SysRoleQuery query);

    void delete(SysRoleQuery query);

    List<SysRoleVo> getList(SysRoleQuery query);
}

